<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>登录/注册-宠物店</title>
  <link href="../images/ico/宠物3.ico" rel="icon" type="image/x-ico">
  <link rel="stylesheet" href="../lib/layui/css/layui.css">
  <link rel="stylesheet" href="../css/sign.css">
</head>


<body>
  <div class="head">
    <!-- 小屋子 -->
    <div class="logo"><a href="./page.html">宠物店</a></div>
    <!-- 导航栏模块 -->
    <ul class="layui-nav nav">
      <li class="layui-nav-item"><a href="">最新活动</a></li>
      <li class="layui-nav-item layui-this"><a href="">产品</a></li>
      <li class="layui-nav-item"><a href="">销售量</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">反馈方案</a>
        <dl class="layui-nav-child">
          <!-- 二级菜单 -->
          <dd><a href="">移动模块</a></dd>
          <dd><a href="">后台模版</a></dd>
          <dd><a href="">电商平台</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="">关于</a></li>
    </ul>
  </div>


  <div class="content">
    <div class="img">
      <div class="img_s"><img src="../images/zhd01.jpg" />
      </div>
    </div>
    <!-- 分割线 -->
    <div class="Split"></div>
    <!-- 登录和注册 -->
    <div id="enroll" style="z-index: 5">
      <div class="login-Reg">

        <!-- 登录框 -->
        <div class="login-box">
          <form class="layui-form" id='form_login'>
            <!-- 用户名 -->
            <div class="layui-form-item">
              <i class="layui-icon layui-icon-username"></i>
              <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off"
                class="layui-input" />
            </div>
            <!-- 密码 -->
            <div class="layui-form-item">
              <!-- 密码小图标 -->
              <i class="layui-icon layui-icon-password"></i>
              <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
                autocomplete="off" class="layui-input">
            </div>
            <!-- 提交按钮 -->
            <div class="layui-form-item">
              <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>登录</button>
            </div>
            <div class="layui-form-item links">
              <div class="login-box"> <a href="javascript:;" id='link_reg'>去注册账号</a></div>
            </div>
          </form>
        </div>


        <!-- 注册框 -->
        <div class="reg-box">
          <!-- 注册用户表 -->
          <form class="layui-form " id='form_reg'>
            <!-- 用户名 -->
            <div class="layui-form-item">
              <!-- 用户小图标 -->
              <i class="layui-icon layui-icon-username"></i>
              <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off"
                class="layui-input">
            </div>
            <!-- 密码 -->
            <div class="layui-form-item">
              <i class="layui-icon layui-icon-password"></i>
              <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
                autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
              <!-- 密码确认框-->
              <i class="layui-icon layui-icon-password"></i>
              <input type="password" name="repassword" required lay-verify="required|pwd|repwd" placeholder="请再次输入密码"
                autocomplete="off" class="layui-input">
            </div>
            <!-- 注册按钮 -->
            <div class="layui-form-item">
              <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>注册</button>
            </div>
            <div class="layui-form-item links">
              <div class="reg-box">
                <a href="javascript:;" id='link_login'>去登录</a>
              </div>
            </div>
          </form>
        </div>

      </div>
    </div>
  </div>
  <footer>
  </footer>

  <!-- 导入 layui 的JS文件 -->
  <script src="../lib/layui/layui.all.js"></script>
  <!-- 导入 jQuery -->
  <script src="../lib/jquery.js"></script>
  <!-- 导入自己封装的 baseAPI -->
  <script src="../js/baseAPI.js"></script>
  <!-- 导入 自己的JavaScript脚本 -->
  <script src="../js/login.js"></script>
</body>

</html>